import { StrictMode, Suspense} from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.tsx'
import {RouterProvider} from 'react-router-dom'
import router from './router/router.tsx'

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <Suspense fallback={<div>lodaing...</div>}>
     <RouterProvider router={router}></RouterProvider>
    </Suspense>
  </StrictMode>,
)
